import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
import httpInterceptor from '@/common/http.interceptor.js';
import httpApi from '@/common/http.api.js';
import util from "./common/utils.js";
import store from "./store/index.js"
import './components/web-socket/socket.js'


Vue.config.productionTip = false
Vue.use(uView);
Vue.use(util);

App.mpType = 'app'

const app = new Vue({
    ...App
})
// 下面的插件必须传入vue的实例；
Vue.use(httpInterceptor, app)
Vue.use(httpApi, app)
app.$mount()
